<%@page contentType="text/html;charset=UTF-8"%>
<%@include file="/common/commonTag.jsp"%>

<html>
	<head>
		<title>创建角色</title>
		<meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
		<link rel="stylesheet" href="${path}/css/backsys/ctx.css">
	</head>

	<body>
	
		<div class="ctx">
				<form action="${path}/privilegeRole!roleAddRes.action" method="post">
					<table class="ow" width="100%">
						<tr>
							<th colspan="2" align=left>
								角色：${roles.roleName} 
							</th>
						</tr>
						<c:forEach var="resItem" items="${resItem}" varStatus="v">
							<tr>
								<td class="td3" align=left>
										${resItem.sysItemName} 
								</td>
							</tr>
							<tr>
								<td class="td3" align=left>
									<c:forEach var="res" items="${resItem.resource}" varStatus="v">
										<div style="width:200px;float:left;">
											<input type="checkbox" name="resId" value="${res.resId}"/>
											${res.resName}
										</div>
									</c:forEach>
								</td>
							</tr>
						</c:forEach>
						
						<tr>
							<td colspan="2" align="center">
								<input type="submit" value="提交" />
							</td>
						</tr>
					</table>
				</form>
		</div>
	</body>
</html>
